<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
  <div id="ft">
    <div class="ft-inner">
      <div class="ft-menu"  id="ft-menu"> 
      	<?php
    $topCate=K('Category')->where('pid=0 AND is_show=1')->limit(1000)->order('csort ASC')->all();
    foreach ($topCate as $filed):
    $filed['url']=U('List/index',array('cid'=>$filed['cid']));
?>

      	<a href="<?php echo $filed['url'];?>" target="_self"><?php echo $filed['cname'];?></a> | 
         
<?php
endforeach
?>
      </div>
      <div class="siteinfo" id="ft-siteinfo"> <a href=""></a>
        </p>
      </div>
    </div>
  </div>
